import java.io.Serializable;
import java.util.Date;


public class KeyValuePair implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int key;
	private String value;
	private Date time;
	
	public KeyValuePair(int key, String value, Date time) {
		super();
		this.key = key;
		this.value = value;
		this.time = time;
	}

	public int getKey() {
		return key;
	}

	public void setKey(int key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}
	
	public String toString() { 
		return "[" + key + "," + value + "]";
	}
}
